package com.devicemantra.coordinate.dataobjects;
import javax.jdo.annotations.*;


import java.util.*;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable ="true")
public class CContact 
{
	@PrimaryKey
    @Persistent (valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key mMessageKey;
	
	@Persistent 
	private String mDepartmentName;
	
	@Persistent 
	private String mLocationId;
		
	@Persistent
	private String mContactName;
	
	@Persistent
	private String mDesignation;
	
	@Persistent
	private String mCoordEmailId;
	
	@Persistent
	private String mCoordMobileId;
	
	@Persistent
	private String mCoordTeleId;
	
	@Persistent
	private String mCoordFaxId;
	
	@Persistent
	private String mCoordFrameId;
	
	@Persistent
	private String mCoordDeskId;
	
	public CContact()
	{
		
	}

	public Key getMessageKey() {
		return mMessageKey;
	}

	public String getDepartmentName() {
		return mDepartmentName;
	}

	public String getLocationId() {
		return mLocationId;
	}

	public String getContactName() {
		return mContactName;
	}

	public String getDesignation() {
		return mDesignation;
	}

	public String getCoordEmailId() {
		return mCoordEmailId;
	}
	
	public String getCoordFaxId() {
		return mCoordFaxId;
	}

	public String getCoordMobileId() {
		return mCoordMobileId;
	}

	public String getCoordTeleId() {
		return mCoordTeleId;
	}
	
	public String getCoordDeskId() {
		return mCoordDeskId;
	}
	
	public String getCoordFrameId() {
		return mCoordFrameId;
	}

	public void setMessageKey(Key mMessageKey) {
		this.mMessageKey = mMessageKey;
	}

	public void setDepartmentName(String mDepartmentName) {
		this.mDepartmentName = mDepartmentName;
	}

	public void setLocationId(String pLocationId) {
		this.mLocationId = pLocationId;
	}

	public void setContactName(String mContactName) {
		this.mContactName = mContactName;
	}

	public void setDesignation(String mDesignation) {
		this.mDesignation = mDesignation;
	}

	public void setCoordEmailId(String pEmailId) {
		System.out.println("Setting eCoordEmail to " + pEmailId);
		mCoordEmailId = pEmailId;
	}

	public void setCoordMobileId(String pMobileNumber) {
		System.out.println("Setting eCoordMobile to " + pMobileNumber);
		mCoordMobileId = pMobileNumber;
	}

	public void setCoordTeleId(String pCoordTeleId) {
		System.out.println("Setting eCoordMobile to " + mCoordTeleId);
		mCoordTeleId = pCoordTeleId;
	}

	public void setCoordFaxId(String pCoordFaxId) {
		this.mCoordFaxId = pCoordFaxId;
	}
	
	public void setCoordDeskId(String pCoordDeskId) {
		 mCoordDeskId = pCoordDeskId;
	}
	
	public void setCoordFrameId(String pCoordFrameId) {
		mCoordFrameId = pCoordFrameId;
	}
	
}
